<?
    if (! empty($filter)) {
        if (!isset($filter['Filter'])) {
            $filter = array(
                'Filter' => $filter
            );
        }
        $this->Paginator->options(array(
            'url' => $filter
        ));
    }
    $params = $this->Paginator->params(); 
?>

<? if($params["pageCount"]>1): ?>
<div class="pagination">
	<?= $this->Paginator->first("« ") ?>
	<?= $this->Paginator->numbers(array(
		'modulus' => 10,
		'separator' => ' &middot; '
	)) ?>
	<?= $this->Paginator->last(" »") ?>
</div>
<? endif; ?>